package ModelLayer;

public class Private extends Contact {
	private String CPR;
	private String name;
	private String surname;
	
	public Private(int id, String address, String city, String zipCode, String phoneNo, String eMail, String status, String CPR, String name, String surname){
		super(id, address, city, zipCode, phoneNo, eMail, status);
		this.setCPR(CPR);
		this.surname = surname;
		this.setName(name);
	}
	
	public Private(){
		super(0, "", "", "", "", "", "");
		CPR = "";
		name = "";
		surname = "";
	}
	
	public String getSurname(){
		return surname;
	}
	
	public void setSurname(String surname){
		this.surname = surname;
	}

	public String getCPR() {
		return CPR;
	}

	public void setCPR(String CPR) {
		this.CPR = CPR;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
